package com.scalar.chiptrack.adaptor.ubicom.spil;

/**
 * User: ChandraSekhar
 * Date: Sep 20, 2007
 * Time: 5:02:09 PM
 */
public class SPILBinReportStatus
{
    private String device;
    private String pkgPin;
    private String lotNumber;
    private String custLotNo;
    private String tester;
    private String testProg;
    private String hold;
    private String inQty;
    private String stockDate;
    private String passQty;
    private String location;
    private String unTestQty;
    private String bin1;
    private String bin2;
    private String bin3;
    private String bin4;
    private String bin5;
    private String bin6;
    private String bin7;
    private String bin8;
    private String bin9;
    private String bin10;
    private String bin11;
    private String bin12;
    private String bin13;
    private String bin14;
    private String bin15;
    private String bin16;
    private String passBin;
    private String strNo1;
    private String strNo2;
    private String strNo3;
    private String dateCode;
    private String topMark;
    private String unCFM;
    private String remarks;
    private String lock;
    private String pack;

    private String oSQty;
    private String oSRate;
    private String damageQty;
    private String lossQty;
    private String handler;
    private String scanInQty;
    private String scanOutQty;


    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getPkgPin() {
        return pkgPin;
    }

    public void setPkgPin(String pkgPin) {
        this.pkgPin = pkgPin;
    }

    public String getLotNumber() {
        return lotNumber;
    }

    public void setLotNumber(String lotNumber) {
        this.lotNumber = lotNumber;
    }

    public String getCustLotNo() {
        return custLotNo;
    }

    public void setCustLotNo(String custLotNo) {
        this.custLotNo = custLotNo;
    }

    public String getTester() {
        return tester;
    }

    public void setTester(String tester) {
        this.tester = tester;
    }

    public String getTestProg() {
        return testProg;
    }

    public void setTestProg(String testProg) {
        this.testProg = testProg;
    }

    public String getHold() {
        return hold;
    }

    public void setHold(String hold) {
        this.hold = hold;
    }

    public String getInQty() {
        return inQty;
    }

    public void setInQty(String inQty) {
        this.inQty = inQty;
    }

    public String getStockDate() {
        return stockDate;
    }

    public void setStockDate(String stockDate) {
        this.stockDate = stockDate;
    }

    public String getPassQty() {
        return passQty;
    }

    public void setPassQty(String passQty) {
        this.passQty = passQty;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getUnTestQty() {
        return unTestQty;
    }

    public void setUnTestQty(String unTestQty) {
        this.unTestQty = unTestQty;
    }

    public String getBin1() {
        return bin1;
    }

    public void setBin1(String bin1) {
        this.bin1 = bin1;
    }

    public String getBin2() {
        return bin2;
    }

    public void setBin2(String bin2) {
        this.bin2 = bin2;
    }

    public String getBin3() {
        return bin3;
    }

    public void setBin3(String bin3) {
        this.bin3 = bin3;
    }

    public String getBin4() {
        return bin4;
    }

    public void setBin4(String bin4) {
        this.bin4 = bin4;
    }

    public String getBin5() {
        return bin5;
    }

    public void setBin5(String bin5) {
        this.bin5 = bin5;
    }

    public String getBin6() {
        return bin6;
    }

    public void setBin6(String bin6) {
        this.bin6 = bin6;
    }

    public String getBin7() {
        return bin7;
    }

    public void setBin7(String bin7) {
        this.bin7 = bin7;
    }

    public String getBin8() {
        return bin8;
    }

    public void setBin8(String bin8) {
        this.bin8 = bin8;
    }

    public String getBin9() {
        return bin9;
    }

    public void setBin9(String bin9) {
        this.bin9 = bin9;
    }

    public String getBin10() {
        return bin10;
    }

    public void setBin10(String bin10) {
        this.bin10 = bin10;
    }

    public String getBin11() {
        return bin11;
    }

    public void setBin11(String bin11) {
        this.bin11 = bin11;
    }

    public String getBin12() {
        return bin12;
    }

    public void setBin12(String bin12) {
        this.bin12 = bin12;
    }

    public String getBin13() {
        return bin13;
    }

    public void setBin13(String bin13) {
        this.bin13 = bin13;
    }

    public String getBin14() {
        return bin14;
    }

    public void setBin14(String bin14) {
        this.bin14 = bin14;
    }

    public String getBin15() {
        return bin15;
    }

    public void setBin15(String bin15) {
        this.bin15 = bin15;
    }

    public String getBin16() {
        return bin16;
    }

    public void setBin16(String bin16) {
        this.bin16 = bin16;
    }

    public String getPassBin() {
        return passBin;
    }

    public void setPassBin(String passBin) {
        this.passBin = passBin;
    }

    public String getStrNo1() {
        return strNo1;
    }

    public void setStrNo1(String strNo1) {
        this.strNo1 = strNo1;
    }

    public String getStrNo2() {
        return strNo2;
    }

    public void setStrNo2(String strNo2) {
        this.strNo2 = strNo2;
    }

    public String getStrNo3() {
        return strNo3;
    }

    public void setStrNo3(String strNo3) {
        this.strNo3 = strNo3;
    }

    public String getDateCode() {
        return dateCode;
    }

    public void setDateCode(String dateCode) {
        this.dateCode = dateCode;
    }

    public String getTopMark() {
        return topMark;
    }

    public void setTopMark(String topMark) {
        this.topMark = topMark;
    }

    public String getUnCFM() {
        return unCFM;
    }

    public void setUnCFM(String unCFM) {
        this.unCFM = unCFM;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getLock() {
        return lock;
    }

    public void setLock(String lock) {
        this.lock = lock;
    }

    public String getPack() {
        return pack;
    }

    public void setPack(String pack) {
        this.pack = pack;
    }


    public String getOSQty() {
        return oSQty;
    }

    public void setOSQty(String oSQty) {
        this.oSQty = oSQty;
    }

    public String getOSRate() {
        return oSRate;
    }

    public void setOSRate(String oSRate) {
        this.oSRate = oSRate;
    }

    public String getDamageQty() {
        return damageQty;
    }

    public void setDamageQty(String damageQty) {
        this.damageQty = damageQty;
    }

    public String getLossQty() {
        return lossQty;
    }

    public void setLossQty(String lossQty) {
        this.lossQty = lossQty;
    }

    public String getHandler() {
        return handler;
    }

    public void setHandler(String handler) {
        this.handler = handler;
    }

    public String getScanInQty() {
        return scanInQty;
    }

    public void setScanInQty(String scanInQty) {
        this.scanInQty = scanInQty;
    }

    public String getScanOutQty() {
        return scanOutQty;
    }

    public void setScanOutQty(String scanOutQty) {
        this.scanOutQty = scanOutQty;
    }

    public String toString()
    {
        StringBuffer buf = new StringBuffer();

        buf.append ("[ LotNo: ").append (lotNumber);
        buf.append ("] [ PartNo: ").append (device);
        buf.append ("] [ fabLotNo: ").append (custLotNo);
        buf.append ("] [ Quantity In: ").append (inQty);
        buf.append ("] [ Qty Out: ").append (passQty);
        buf.append ("] [ Date In: ").append (stockDate );
        buf.append ("] [ Bin Qty: { ").append (bin1).append(" , ").append (bin2).append(" , ").append (bin3).append(" , ").append (bin4).append(" }");
        buf.append ("] [ Handler: ").append (handler);
        buf.append ("] [ os Qty: ").append (oSQty);
        buf.append ("] [ os Rate: ").append(oSRate );
        buf.append ("] [ damage Qty: ").append (damageQty);
        buf.append ("] [ loss Rate: ").append(lossQty );
        buf.append ("] [ TEST OGM: ").append(testProg == null ? "" : testProg.substring(testProg.indexOf("_")+1, testProg.lastIndexOf(".") ) );
        buf.append ("] [ SCAN INQty: ").append(scanInQty);
        buf.append ("] [ SCAN outQty: ").append( scanOutQty ).append (" ]");

        return buf.toString();
    }
}
